package cn.trs.common.enums;

/**
 * 会话类型
 *
 * @author 王元晨
 */
public enum SessionTypeEnum {

    // 点对点
    P2P(1, "01"),
    ;

    private final Integer type;
    private final String str;

    public Integer getType() {
        return type;
    }

    public String getStr() {
        return str;
    }

    SessionTypeEnum(Integer type, String str) {
        this.type = type;
        this.str = str;
    }
}
